package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.entity.OrderProductRepairEntity;
import com.zhenwei.zscm.model.dto.order.OrderProductRepairDTO;
import com.zhenwei.zscm.model.vo.orderProductRepair.OrderProductRepairVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrderProductRepairMapping {
    OrderProductRepairMapping INSTANCE = Mappers.getMapper(OrderProductRepairMapping.class);
    OrderProductRepairEntity vo2Entity(OrderProductRepairVO vo);
    OrderProductRepairDTO entity2Dto(OrderProductRepairEntity entity);

    OrderProductRepairEntity dto2Entity(OrderProductRepairDTO orderProductRepairDTO);
}
